package com.sunny.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.sunny.dao.IPermissionDao;
import com.sunny.model.Permission;

import framework.base.BaseIbatis3Dao;

/**
 * 权限表 [Dao实现类]
 * 
 * @Description:
 * @author baolin.liu Email:543847778@qq.com
 * @date 2016-08-05 14:08:17
 * @version V1.0
 */
@Repository
public class PermissionDao extends BaseIbatis3Dao<Permission> implements IPermissionDao {
	public Class getEntityClass() {
		return Permission.class;
	}

	@Override
	public List<String> selectPermissionList(String roleName) {
		return getSqlSession().selectList("Permission.selectPermissionList", roleName);
	}
}